#include "ListenConnect.hpp"
#include "Reactor.hpp"
using namespace ListenConnectModule;
using namespace ReactorModule;

int main()
{
    std::shared_ptr<Connect> listenconnection = std::make_shared<ListenConnect>(8888);
    Reactor reactor;
    reactor.Init();
    reactor.BuiltConnection(listenconnection);
    reactor.Loop();
    return 0;
}